package com.last1mile.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.last1mile.model.Trade;
import com.last1mile.pojo.TradeDO;

@Service
public interface TradeService {

    public Integer createTrade(Trade trade);
    
    public List<TradeDO> queryTradeByPer(Integer perId);
    
    public List<TradeDO> queryTradeByMer(Integer merId);
}
